import { requestHttp } from "@/utils/request";


//引入类型约束
import type { reqCategoryIResponse } from "@/type/category";

/**商品一级、二级分类页面相关请求api*/


//获取一级分类
export const reqCategoryI = () => {
    return requestHttp<reqCategoryIResponse[]>({
        url:"/category/top",
        method:"get"
    })
}